package com.yao.repository;

import com.yao.dataobject.ProductInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * User: 姚宏武
 * Date: 2017/11/16
 * Time: 15:11
 * Email：401369870@qq.com
 * Description: 商品的dao层
 */

public interface ProductInfoRepository extends JpaRepository<ProductInfo,String> {

    List<ProductInfo> findByProductStatus(Integer productStatus);
}
